package cuit.cx.groupcomment.model;

/**
 * Picture entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Picture implements java.io.Serializable {

	// Fields

	private Integer id;
	private Groupon groupon;
	private String name;
	private String introdution;
	private String url;
	private String pictureType;

	// Constructors

	/** default constructor */
	public Picture() {
	}

	/** minimal constructor */
	public Picture(Groupon groupon, String url, String pictureType) {
		this.groupon = groupon;
		this.url = url;
		this.pictureType = pictureType;
	}

	/** full constructor */
	public Picture(Groupon groupon, String name, String introdution,
			String url, String pictureType) {
		this.groupon = groupon;
		this.name = name;
		this.introdution = introdution;
		this.url = url;
		this.pictureType = pictureType;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Groupon getGroupon() {
		return this.groupon;
	}

	public void setGroupon(Groupon groupon) {
		this.groupon = groupon;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntrodution() {
		return this.introdution;
	}

	public void setIntrodution(String introdution) {
		this.introdution = introdution;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPictureType() {
		return this.pictureType;
	}

	public void setPictureType(String pictureType) {
		this.pictureType = pictureType;
	}

}